package io.ooad.banking.dd.facade;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by yyang on 16/9/16.
 */
public interface BankingFacade {

    Account getByAccountNumber(String accountNumber);

    void deposit(String accountNumber, BigDecimal amount, Date date);

    void withdraw(String accountNumber, BigDecimal amount, Date date);

    void transfer(String fromAccount, String toAccount, BigDecimal amount, Date date);


}
